export default [
    {
        url: '/api/admin/getUserList',
        method: 'get',
        response: ({body}) => {
            return {
                code: 1,
                data: {
                    records: [
                        {
                            id: '@guid',
                            name: '@cname',
                            age: '@integer(20,30)'
                        }
                    ]
                }
            }
        }
    },
    {
        url: '/api/admin/userLogin',
        method: 'post',
        response: ({body}) => {
            return {
                code: 200,
                data: {
                    userName:body.userName,
                    token:"1234567890"
                }
            }
        }
    }
]